package com.im.service.group.model.req;

import com.im.common.model.RequestBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
@ApiModel(value = "GetJoinedGroupReq", description = "获取用户所在群组列表请求参数")
public class GetJoinedGroupReq extends RequestBase {

    @ApiModelProperty(value = "用户id", required = true)
    @NotBlank(message = "用户id不能为空")
    private String memberId;

    @ApiModelProperty(value = "群类型")
    private List<Integer> groupType;

    @ApiModelProperty(value = "单次拉取的群组数量，如果不填代表所有群组")
    private Integer limit;

    @ApiModelProperty(value = "第几页")
    private Integer offset;

}

